package com.hyb.mapper;

import com.hyb.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  角色Mapper 接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    Set<String> selectRolesByStaffEmail(String staffEmail);

    Set<Role> selectmyRolesByStaffEmail(String staffEmail);
}
